﻿namespace Digitalmes.ApiService.Models;

/// <summary>
/// 点位信息
/// </summary>
public sealed class CanvasPointModel
{
    /// <summary>
    /// 点位名称
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    /// 点位编号
    /// </summary>
    public int No { get; set; }

    /// <summary>
    /// 点位分组
    /// </summary>
    public string Group { get; set; }

    /// <summary>
    /// 点位距离边框顶部距离
    /// </summary>
    public double Top { get; set; }

    /// <summary>
    /// 点位距离边框左边距离
    /// </summary>
    public double Left { get; set; }

    /// <summary>
    /// 点位宽度
    /// </summary>
    public double Width { get; set; } = 60;

    /// <summary>
    /// 点位高度
    /// </summary>
    public double Height { get; set; } = 28;

    /// <summary>
    /// 文本字体大小
    /// </summary>
    public int FontSize { get; set; } = 16;

    /// <summary>
    /// 点位状态。1->OK; 2->NG; 3->Done
    /// </summary>
    public int State { get; set; } = 1;
}
